package cn.iocoder.yudao.module.system.controller.admin.user.vo.user;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 用户角色信息 Response VO
 */
@Schema(description = "管理后台 - 用户角色信息 Response VO")
@Data
public class UserRoleRespVO {

    @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long userId;

    @Schema(description = "用户名", requiredMode = Schema.RequiredMode.REQUIRED, example = "zhangsan")
    private String username;

    @Schema(description = "用户昵称", example = "张三")
    private String nickname;

    @Schema(description = "是否为教师", requiredMode = Schema.RequiredMode.REQUIRED, example = "true")
    private Boolean isTeacher;

    @Schema(description = "是否为学生", requiredMode = Schema.RequiredMode.REQUIRED, example = "false")
    private Boolean isStudent;

    @Schema(description = "用户类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "teacher")
    private String userType;

    @Schema(description = "角色编码列表", example = "[\"teacher\", \"admin\"]")
    private List<String> roleCodes;

    @Schema(description = "角色名称列表", example = "[\"教师\", \"管理员\"]")
    private List<String> roleNames;

}